package com.restaurant.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.restaurant.entity.ReservationForm;
import com.restaurant.mapper.ReservationFormMapper;
import com.restaurant.service.ReservationFormService;

@Service
public class ReservationFormServiceImpl implements ReservationFormService {
	
	@Autowired 
  private	ReservationFormMapper  formMapper;

	public void setFormMapper(ReservationFormMapper formMapper) {
		this.formMapper = formMapper;
	}

	@Override
	public int buyMenu(ReservationForm reservationForm) {
		
		return formMapper.buyMenu(reservationForm);
	}
	
	
}
